package com.lzxuni.modules.pestdetails.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.github.pagehelper.PageInfo;
import com.lzxuni.modules.common.entity.PageParameter;
import com.lzxuni.modules.pestdetails.entity.Pest;
import org.apache.poi.ss.usermodel.Workbook;

import java.io.IOException;
import java.util.List;

/**
 * <p>
 * 虫情 服务类
 * </p>
 *
 * @author rdf
 * @since 2020-12-03
 */
public interface PestService extends IService<Pest> {

    PageInfo<Pest> queryPage(PageParameter pageParameter, Pest pest);

    Pest queryLand(String keyValue);

    Workbook exportExcel(Pest pest) throws IOException, IOException;

    PageInfo<Pest> queryPagexq(PageParameter pageParameter, Pest pest);

    Workbook exportExcelXq(Pest pest) throws IOException;

    PageInfo<Pest> queryPageCqyj(PageParameter pageParameter, Pest pest);

    Workbook exportExcelCqYj(Pest pest) throws IOException;

    List<Pest> queryYuJing();
}
